package cn.edu.ujn.lab3.service;

import cn.edu.ujn.lab3.dao.Vehicle;
import cn.edu.ujn.lab3.utils.Page;

import java.util.List;

/**
 * 车辆信息Service层接口
 */
public interface VehicleService {
    Page<Vehicle> findVehicleList(Integer page, Integer rows,
                                String vehicleNo, String vehicleType
                                );

    List<Vehicle>selectList(Vehicle vehicle);

    int createVehicle(Vehicle vehicle);

    int updateVehicle(Vehicle vehicle);

    int deleteVehicle(Integer id);

    Vehicle getVehicleById(Integer id);

}
